docker save
命令手册Export one or more docker images to archive. More information: https://docs.docker.com/engine/reference/commandline/save/.
stdout
to a tar archive:docker save {{image}}:{{tag}} > {{path/to/file.tar}}
docker save --output {{path/to/file.tar}} {{image}}:{{tag}}
docker save --output {{path/to/file.tar}} {{image_name}}
docker save --output {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}